﻿#include "memento.h"

Memento::Memento(int version, QString date, QString label)
{
    m_codeInfo.version = version;
    m_codeInfo.date = date;
    m_codeInfo.lable = label;
}

QString Memento::date()
{
    return m_codeInfo.date;
}

QString Memento::label()
{
    return m_codeInfo.lable;
}

int Memento::version()
{
    return m_codeInfo.version;
}
